import java.util.Random;
import java.text.DecimalFormat;
public class random
{
	public static void main (String[] args)
	{
		Random generator = new Random();
		int num;
		num = generator.nextInt(21) - 10;
                DecimalFormat fmt = new DecimalFormat ("0.###");
		System.out.println ("from -10 to 10:" + fmt.format(num));

	}
}
